<div id="accordion">
    <div>
        <h3><a href="#">Seleziona una categoria</a></h3>
        <div>
            <div class="col-first left first">
                <h4>Area Tematica</h4>
                <?php echo $this->partialLoop('partials/_nav-categories.phtml', $this->areaTematica); ?>
            </div>

            <div class="col left">
                <h4>Area Geografica</h4>
                <?php echo $this->partialLoop('partials/_nav-categories.phtml', $this->areaGeografica); ?>
            </div>

            <div class="col left">
                <h4>Attività</h4>
                <?php echo $this->partialLoop('partials/_nav-categories.phtml', $this->attivita); ?>
            </div>

            <div class="col-last left last">
                <h4>Durata</h4>
                <?php echo $this->partialLoop('partials/_nav-categories.phtml', $this->durata); ?>
            </div>
        </div>
        <h3><a href="#">Cerca un Evento</a></h3>
        <div>
            <div class="search-form">
                <?php echo $this->searchForm; ?>
            </div>
        </div>
    </div>
</div>



    
<div class="clear">
    <h2>Archivio eventi <?php echo $this->catFrase; ?></h2>
    <?php if (!NULL == $this->archivioEventos): ?>
        <?php foreach ($this->archivioEventos as $evArch): ?>
            <div class="box">
            <a href=<?php echo $this->url(array(
                        'controller' =>'index',
                        'action' => 'show',
                        'ident' => $evArch->evIdent,
                    ),
                    'index_evento') ?>>
                <h3><?php echo $evArch->evTitolo; ?></h3>
            </a>
            <h6><?php echo $evArch->evIntro; ?></h6>
            <div class="links">
                <a href=<?php echo $this->url(array(
                        'controller' =>'index',
                        'action' => 'show',
                        'ident' => $evArch->evIdent,
                    ),
                    'index_evento') ?>>
                    Leggi tutto
                </a>
            </div>
        </div>
        <?php endforeach; ?>
    <?php else: ?>
        <h3>La categoria selezionata non contiene eventi.</h3>
    <?php endif; ?>
</div>

<?php if ($this->archivioEventos instanceof Zend_Paginator): ?>
    <?php echo $this->paginationControl($this->archivioEventos,
                                        'Sliding',
                                        'templates/_paginator.phtml'); ?>
<?php endif; ?>
